<template>
  <div class="outer">
    <h1>分类列表</h1>
    <div class="list">
      <Item title="美食">
        <template #default>
          <img src="./assets/03.png" width="100%" alt="" />
        </template>
        <template #footer>
          <a href="###">点击查看更多美女>>></a>
        </template>
      </Item>
      <Item title="音乐">
        <template #default>
          <ul>
            <li>七里香</li>
            <li>凉凉</li>
            <li>秋天不回来</li>
            <li>老鼠爱大米</li>
            <li>求佛</li>
          </ul>
        </template>
        <template #footer>
          <button>点击播放</button>
        </template>
      </Item>
      <Item title="游戏">
        <template #default>
          <h3 style="text-align: center; color: red">剑帝小跑英噩恩山全图</h3>
          <video src="./assets/huahua.mp4" width="100%" autoplay muted></video>
        </template>
        <template #footer>
          <p style="color: red">喜欢就点个赞吧</p>
        </template>
      </Item>
    </div>
  </div>
</template>

<script>
import Item from "./components/Item.vue";

export default {
  name: "App",
  components: { Item },
};
</script>

<style scoped>
.outer {
  width: 900px;
  margin: 0 auto;
}
.list {
  display: flex;
  justify-content: space-between;
}
</style>